package c.x.jy.service.config.impl;

import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;

import c.x.jy.service.config.DataService;
@CacheConfig(cacheNames = { "data" })
@Service("dataService")
public class DataServiceImpl  implements DataService{
 
	@Override
	public JSONArray parseJSONObject(String text) {
		 
		try {
		return 	(JSONArray) JSON.parse(text);
		} catch (Exception e) {
			e.printStackTrace();
		}
		return null;  
   }
 

}
